Better full-screen frame support on MS-Windows.
authorErik Charlebois <erikcharlebois@gmail.com>
Sat, 20 Apr 2013 07:32:31 +0000 (10:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 20 Apr 2013 07:32:31 +0000 (10:32 +0300)
commit484106340b060b50eade562c26dac73f32b988a2
tree21836b2debe85b284e1605dc28274c668f75d5d1
parent100764f5d200c87c0b4c39256f3aee1fb646f15c
parent8b1d4970d399ddab81d99de696df98f922c72d5c
Better full-screen frame support on MS-Windows.

 src/w32fns.c (w32_fullscreen_rect): New function to compute the
 window rectangle for the given fullscreen mode.
 (w32_wnd_proc): When in a fullscreen mode, WM_WINDOWPOSCHANGING no
 longer tunes the window size.  This keeps the window's edges flush
 with the screen and allows the taskbar to hide itself in fullboth.
 src/w32term.c (w32fullscreen_hook): 'fullboth' now shows without
 window decorations and uses the entire screen.
 src/w32term.h  (w32_fullscreen_rect) Add prototype.
 (struct w32_output): Replace normal_width, normal_height,
 normal_top, and normal_left members with a single normal_placement
 struct.
 (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP):
 Remove macros.
 (FRAME_NORMAL_PLACEMENT): New macro.
src/ChangeLog
src/w32fns.c